Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Do not prematurely emit CustomProtocolClosed on connection close.#5595

Merged
tomaka merged 1 commit into
paritytech:masterfrom
romanb:fix-inject-connection-closed
Apr 9, 2020
Merged

Do not prematurely emit CustomProtocolClosed on connection close.#5595
tomaka merged 1 commit into
paritytech:masterfrom
romanb:fix-inject-connection-closed

Conversation

@romanb
Copy link
Copy Markdown
Contributor

@romanb romanb commented Apr 9, 2020

A follow-up patch to #5278. I believe this to be the cause for #5592 because inject_connection_closed prematurely triggers an emit of CustomProtocolClosed, but it should only do so if open is empty (and was not already empty before).

@romanb romanb requested a review from tomaka April 9, 2020 09:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants